package ch2;

import java.util.Scanner;

public class GetMax {

	public static void main(String[] args) {
		// 求两个数的最大值
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入李斯和韩非的成绩：");
		int a = sc.nextInt();
		int b = sc.nextInt();
		boolean h = sc.nextBoolean();
		int max = a > b ? a : b;
		System.out.println("最大的是" + max);
	}

}
